/*
** Copyright (C) 2011 Viens Yann
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; either
** version 2.1 of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef CONFIGWINDOW_HPP_
# define CONFIGWINDOW_HPP_

# include <QWidget>
# include <QHBoxLayout>
# include <QVBoxLayout>
# include <QLabel>
# include <QCheckBox>
# include "ISubWindow.hpp"

class		ConfigWindow: public QWidget, public ISubWindow
{
  Q_OBJECT

public:
  ConfigWindow();
  ~ConfigWindow();

  void			setCameraImage(QImage* image);

private:
  QLabel		_cameraDisplay;
  QPixmap		_pixmap;
  QHBoxLayout*		_global;
  QVBoxLayout*		_left;

  QHBoxLayout*		_inverseItem;
  QCheckBox*		_inverseCheckBox;
  QLabel*		_inverseLabel;
};

#endif // CONFIGWINDOW_HPP_
